home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 7_docs / Key_bindings < prev    next >
Encoding:
Text File  |  2001-03-21  |  2.2 KB  |  54 lines

  1. How to Use Key Bindings in EPIC                                             
  2.  
  3. One of the strengths of this client is its /bind command.  It permits any
  4. key or sequences to keys to be bound to any arbitrary action.  You are most
  5. likely already familiar with using keyboard shortcuts with other programs.
  6.  
  7. The general allowable key sequences that may be bound are as follows:
  8.  
  9.    Sequence   Description                                                   
  10.    c          any single character may be bound (case sensitive)
  11.    ^c         any letter (case insensitive) may be bound as a control key,
  12.               as well as any of:  ? [ ] \ ^ @
  13.    METAn-c    any meta key (1..9) may be used in conjunction with a single
  14.               key (as in the first form, above)
  15.    METAn-^c   meta keys (1..9) may also be used in conjunction with control
  16.               keys (as in the second form, above)
  17.    mc         this is another form of using meta keys, except in this case
  18.               the key bound to a META function is specified
  19.    m^c        same as above, except used in conjunction with control keys
  20.  
  21. Meta keys may also be bound to other meta keys, such that a sequences may
  22. be several characters in length.  Some examples:
  23.  
  24.    Whenever the '|' key is typed, the client will try to use that nick:
  25.       bind | parse_command nick |
  26.  
  27.    This lets ^X (control-x) be used as a meta key in other bindings
  28.       bind ^X meta2_character
  29.  
  30.    Either of these can be used to switch to a new window:
  31.       bind meta2-w next_window
  32.       bind ^Xw next_window
  33.  
  34.    Either of these can be used to switch back to the previous window
  35.       bind meta2-^W previous_window
  36.       bind ^X^W previous window
  37.  
  38.    A binding can also use a block of commands:
  39.       bind ^^ {
  40.          echo 1
  41.          echo 2
  42.       }
  43.  
  44.    The client uses these bindings automatically for the arrow keys
  45.       bind ^[ meta1_character
  46.       bind meta1-[ meta2_character
  47.       bind meta2-A backward_history        /*    up arrow */
  48.       bind meta2-B forward_history         /*  down arrow */
  49.       bind meta2-C backward_character      /*  left arrow */
  50.       bind meta2-D forward_character       /* right arrow */
  51.  
  52. Refer to the BIND command in section 4 for more information.
  53.  
  54.